﻿using System;
using ZX.Web.UI.Controls;
using ZX.CRM.Library;
using ZX.BLL;
using System.Collections.Generic;


namespace ZX.WebApp.Crm.Deliver
{
    public partial class AddHrStudentInfo : EditUIPage
    {
        private string strId = "";
        private string strClassId = "";

        public string StrClassId
        {
            get { return strClassId; }
            set { strClassId = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            strId = this.GetStringFromQueryString("id", "");
            strClassId = this.GetStringFromQueryString("strClassId", "");
            string strExplain = this.GetStringFromQueryString("explain", "");
            Explain.Text = strExplain;
            if (strClassId!="")
            {
                BDatPhraseDetail bllDetail = new BDatPhraseDetail();
                IList<CrmDeliverHrClass> ListDliverId = bllDetail.GetCrmDeliverHrClass();
                ddlClass.DataSource = ListDliverId;
                ddlClass.DataTextField = "ClassNo";
                ddlClass.DataValueField = "ID";
                ddlClass.DataBind();
            }
        }
        public string StrId
        { get { return strId; } }
    }
}